cd /project/train/src_repo/yolo7carlproi/

echo "start generating data set"
python datasets/car_lp_det/dataset_generator.py 2>&1 | tee ../../log/log_gen.txt
ls /home/data/782/*.jpg > datasets/car_lp_det/train_list.txt
ls /home/data/782/*.jpg > datasets/car_lp_det/val_list.txt
echo "start training"
python train.py --weights weights/yolov7-tiny.pt --data data/carlp.det.yaml --epochs 200 --batch-size 16 --img 640 640 --cfg cfg/training/yolov7-tiny-pts.yaml --name yolov7-tiny --hyp data/carlp.hyp.scratch.tiny.yaml --workers 0 --device 0  2>&1 | tee ../../log/log.txt
